<!--
 * @Description: 
 * @Version: 1.0
 * @Autor: gaoluo
 * @Date: 2021-08-24 09:09:47
 * @LastEditors: gaoluo
 * @LastEditTime: 2021-09-02 17:30:45
 * @FilePath: /nhw/src/components/Card/CardBtn.vue
-->
<template>
  <div class="card-btn-container">
    <slot>
      <Button
        round
        plain
        size="small"
        type="primary"
        color="#fff"
        @click="clickBtn"
        text="终止"
      >
      </Button>
    </slot>
  </div>
</template>

<script>
import { Button } from "vant";
export default {
  name: "CardBtn",

  components: { Button },

  directives: {},

  data() {
    return {};
  },

  mounted() {},

  methods: {
    clickBtn() {},
  },
};
</script>

<style lang="less" scoped>
@import url("~style/mixin.less");
@import url("~style/var.less");

@BtnFontSize: 28px;

.card-btn-container {
  .flex(flex-end, center);
  padding: 4px 20px;
  box-sizing: border-box;
  .van-button {
    min-width: 132px;
    margin-left: 20px;
    height: 44px;
    background: @primary;
    font-size: @BtnFontSize;
  }
}
</style>